import 'package:sp_util/sp_util.dart';

class SpUtils {
  ///设置token
  static void setToken(String token) {
    SpUtil.putString("token", token);
  }

  ///获取token
  static String getToken() => SpUtil.getString("token") ?? "";
}
